package com.zyw.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-28 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="user" )
public class User  implements Serializable {

	private static final long serialVersionUID =  7993731171550688016L;

   	@Column(name = "id" )
	private Integer id;

   	@Column(name = "username" )
	private String username;

   	@Column(name = "password" )
	private String password;

   	@Column(name = "salt" )
	private String salt;

   	@Column(name = "name" )
	private String name;

   	@Column(name = "created" )
	private java.util.Date created;

   	@Column(name = "updated" )
	private java.util.Date updated;

}
